﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DataServiceDTO.DTO
{
    public class Columns
    {
        /// <summary>
        /// 表名
        /// </summary>
        public string TableName { get; set; }
        /// <summary>
        /// 字段序号
        /// </summary>
        public int ColOrder { get; set; }
        /// <summary>
        /// 字段名
        /// </summary>
        public string ColName { get; set; }
        /// <summary>
        /// 标识
        /// </summary>
        public bool Flag { get; set; }

        /// <summary>
        /// 字段类型
        /// </summary>

        public string ColType { get; set; }
        /// <summary>
        /// 占用字节数
        /// </summary>
        public int ColLength { get; set; }

        /// <summary>
        /// 长度
        /// </summary>
        public int ValueLength { get; set; }
        /// <summary>
        /// 小数位数
        /// </summary>
        public int ScaleLength { get; set; }
        /// <summary>
        /// 允许空
        /// </summary>
        public bool IsNullable { get; set; }
        /// <summary>
        /// 默认值
        /// </summary>
        public string DefaultValue { get; set; }
        /// <summary>
        /// 字段说明
        /// </summary>
        public string FieldDes { get; set; }

    }
}
